{"version":3,"sources":["script.js"],"names":["CrmWebFormList","params","this","init","context","BX","canEdit","nodeHead","querySelector","headHideClass","formAttribute","formAttributeIsSystem","forms","mess","formNodeList","querySelectorAll","i","length","formNode","item","formId","getAttribute","isSystem","initForm","caller","id","node","detailPageUrlTemplate","actionRequestUrl","remoteData","localData","onBeforeDeleteForm","form","list","filter","addClass","onAfterDeleteForm","index","util","array_search","onRevertDeleteForm","removeClass","CrmWebFormListItem","push","nodeDelete","nodeCopyToClipboard","nodeCopyToClipboardButton","nodeSiteList","nodeSiteListSaved","siteListSavedTimeout","nodeSettings","nodeViewSettings","nodeView","isActiveControlLocked","popupSettings","popupViewSettings","activeController","CrmWebFormListItemActiveDateController","bindControls","prototype","showErrorPopup","data","text","errorAction","popup","PopupWindowManager","create","autoHide","lightShadow","closeByEsc","overlay","backgroundColor","opacity","setButtons","PopupWindowButton","dlgBtnClose","events","click","popupWindow","close","setContent","show","showConfirmPopup","confirmAction","dlgBtnApply","className","action","apply","dlgBtnCancel","changeActive","event","doNotSend","needDeactivate","isActive","reqData","REMOTE_DATA","LOCAL_DATA","BUTTON_ID","deactivate","activate","sendActionRequest","error","revert","saveSiteRestrictions","siteIds","getSelectedSites","self","SITE_ID","clearTimeout","classList","remove","add","setTimeout","preventDeselectLastSite","target","selected","options","opt","value","redirectToDetailPage","window","location","replace","resetCounters","reload","copy","copiedId","delete","deleteConfirmation","proxy","deleteClassName","callbackSuccess","callbackFailure","ajax","url","method","sessid","bitrix_sessid","timeout","dataType","processData","onsuccess","onfailure","clipboard","bindCopyClick","bind","nodeActiveControl","showSettings","showViewSettings","forEach","changeClass","isAdd","styleDisplay","isShow","displayValue","style","display","createPopup","popupId","button","items","PopupMenu","offsetLeft","offsetTop","angle","position","offset","onPopupClose","delegate","closePopup","nodeDate","nodeDateNowActivated","nodeDateNowDeActivated","classDateNow","classDateNowState","classOn","classOff","isNowShowedCounter","isRevert","hasClass","toggle","actualizeDate","isNow"],"mappings":"AAAA,IAAIA,eAAi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